/* Copyright 2023 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

.menu-root {
  /* Use linear-gradient to apply multiple background colors. */
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06)
  ), var(--grey-900);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  color: var(--grey-200);
  display: none;
  font-size: 14px;
  margin: 0;
  max-width: calc(100vw - 16px);
  padding-block: 8px;
  padding-inline: 0;
  position: fixed;
  width: max-content;
}

.menu-root[aria-expanded=true] {
  display: block;
}

.menu-root > .item {
  cursor: pointer;
  list-style-type: none;
  padding-block: 8px;
  padding-inline: 16px;
}

.menu-root > .item:is(:hover, :focus-visible) {
  background-color: rgba(255, 255, 255, 0.08);
}
